<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
    <title>系統信息</title>
	<link rel="stylesheet" href="/backstages/style/css/ch-ui.admin.css">
	<link rel="stylesheet" href="/backstages/style/font/css/font-awesome.min.css">
</head>
<body>
	<!--面包屑导航 开始-->
	<div class="crumb_warp">
		<!--<i class="fa fa-bell"></i> 欢迎使用登陆网站后台，建站的首选工具。-->
		<i class="fa fa-home"></i> 首頁 &raquo; 网站信息 <!-- &raquo; <a href="#">网站管理</a> &raquo; 网站信息 -->
	</div>
	<!--面包屑导航 结束-->
	
	<!--结果集标题与导航组件 开始-->
	<!-- <div class="result_wrap">
        <div class="result_title">
            <h3>快捷操作</h3>
        </div>
        <div class="result_content">
            <div class="short_wrap">
                <a href="#"><i class="fa fa-plus"></i>新增文章</a>
                <a href="#"><i class="fa fa-recycle"></i>批量刪除</a>
                <a href="#"><i class="fa fa-refresh"></i>更新排序</a>
            </div>
        </div>
    </div> -->
    <!--结果集标题与导航组件 结束-->

	
    <div class="result_wrap">
        <div class="result_title">
            <h3>系統基本信息</h3>
        </div>
        <div class="result_content">
            <ul>
            <li>
                <label>操作系統</label><span>{!! PHP_OS !!}</span>
            </li>
            <li>
                <label>運行環境</label><span>{!! $_SERVER['SERVER_SOFTWARE'] !!}</span>
            </li>
            <li>
                <label>PHP運行方式</label><span>{!! php_sapi_name() !!}</span>
            </li>
            <li>
                <label>版本</label><span>v_0.0.1</span>
            </li>
            <li>
                <label>上傳附件限制</label><span><?php echo get_cfg_var ("upload_max_filesize")?get_cfg_var ("upload_max_filesize"):"不允許上傳附件"; ?></span>
            </li>
            <li>
                <label>北京時間</label><span id="time"><?php echo date('Y年m月d日 H时i分s秒'); ?></span>
            </li>
            <li>
                <label>服務器域名/IP</label><span>{{$_SERVER['SERVER_NAME']}} [ {{$_SERVER['SERVER_ADDR']}} ]</span>
            </li>
            <li>
                <label>Host</label><span>{{$_SERVER['SERVER_ADDR']}}</span>
            </li>
        </ul>
        </div>
    </div>


    <div class="result_wrap">
        <div class="result_title">
            <h3>使用帮助</h3>
        </div>
        <div class="result_content">
            <ul>
                <li>
                    <label>网站首页：</label><span><a href="{{$_SERVER['SERVER_NAME']}}">{{$_SERVER['SERVER_NAME']}}</a></span>
                </li>
                <li>
                    <label>图标参考网站：</label><span><a href="http://www.yeahzan.com/fa/facss.html">http://www.yeahzan.com/fa/facss.html</a></span>
                </li>
                <li>
                    <label>官方交流QQ群：</label><span><a href="#"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png"></a></span>
                </li>
            </ul>
        </div>
    </div>
	<!--结果集列表组件 结束-->
<?php
echo '<script type="text/javascript">
    var dayNames = new Array("星期日","星期壹","星期二","星期三","星期四","星期五","星期六");
    function get_obj(time){
        return document.getElementById(time);
    }
    var ts='.(round(microtime(true)*1000)).';
    function getTime(){
        var t=new Date(ts);
        with(t){
            var _time=""+getFullYear()+"年" + (getMonth()+1)+"月"+getDate()+"日&nbsp;&nbsp;" + (getHours()<10 ? "0" :"") + getHours() + "时" + (getMinutes()<10 ? "0" :"") + getMinutes() + "分" + (getSeconds()<10 ? "0" :"") + getSeconds() + "秒&nbsp;&nbsp;" + dayNames[t.getDay()];
        }
        get_obj("time").innerHTML=_time;
        setTimeout("getTime()",1000);
        ts+=1000;
    }
    getTime();
</script>';
?>
</body>
</html>